package com.batata.continuing.pojo.tree;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigInteger;

/**
 * 树型 信息
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tree_info")
public class TreeInfo {

    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "记录id", hidden = true)
    private BigInteger id;

    @ApiModelProperty(value = "节点id", hidden = true)
    private String treeId;

    @ApiModelProperty(value = "父节点id")
    private String treePareatId;

    @ApiModelProperty(value = "值（用于排序等）", example = "1")
    private int threeValue;


    @ApiModelProperty(value = "枚举名称", required = true)
    private String treeName;

    @ApiModelProperty(value = "枚举描述")
    private String treeDesc;

    @ApiModelProperty(value = "枚举状态 0 不使用 1 使用", hidden = true, example = "1")
    private int treeState;

    @ApiModelProperty(value = "建立时间", hidden = true)
    private String jlsj;

    @ApiModelProperty(value = "更新时间", hidden = true)
    private String gxsj;


}
